package com.wooboo.server.ext.action.redis;

import java.util.ArrayList;
import java.util.List;

import net.sf.json.JSONObject;

import com.wooboo.server.ext.ActionBase;
import com.wooboo.server.ext.ApiError;
import com.wooboo.server.ext.Result;
import com.wooboo.server.ext.data.Idea;
import com.wooboo.server.ext.data.RestModel;
import com.wooboo.server.ext.data.SysLogger;
import com.wooboo.server.ext.data.Traffic;
import com.wooboo.server.ext.data.UserFinance;
import com.wooboo.server.ext.dbutil.JdbcTemplate;
import com.wooboo.server.ext.dbutil.Sql;
import com.wooboo.server.ext.service.BillingService;
import com.wooboo.server.ext.service.DbService;
import com.wooboo.server.ext.service.PushService;
import com.wooboo.server.ext.util.DateUtil;
import com.wooboo.server.ext.util.HttpClientUtils;
import com.wooboo.server.ext.util.NumberUtil;
import com.wooboo.server.ext.util.Parameters;
import com.wooboo.server.ext.util.StringUtil;

/**
 * 
 * 
 * @author duanwei
 * 
 */
public class Billing extends ActionBase {

	public Billing() {
		needCheckAuth = false;
	}

	@Override
	public void initParameters(Parameters params) throws ApiError {
		
	}

	@Override
	public Result invokeService() throws ApiError {
		Result result = new Result();
		
		RestModel restModel = new RestModel();
		
		
		//本次操作成功的创意id
		List<Long> succ = new ArrayList<Long>();
		
		
		BillingService billingService = new BillingService();
		
		billingService.bll();
		
		restModel.setCode(0);
		restModel.setErrorDescription("操作成功");
		restModel.setDataObject(succ);
		result.setRet(JSONObject.fromObject(restModel));
		return result;
		
	}

}
